package com.cn.crmsystem.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "回访基本数据实体(Visit)")
public class Visit implements Serializable {

  @Id
  @ApiModelProperty("主键id（不用传值）")
  private Long id;

  @ApiModelProperty("创建人id（不用传值）")
  private Long user_id;

  @ApiModelProperty("联系人id")
  private Long contacts_id;

  @ApiModelProperty("合同id")
  private Long contract_id;

  @ApiModelProperty("回访形式（0: 线上 1：线下）")
  private Long form;

  @ApiModelProperty("  客户满意度(1-10)")
  private Long satisfaction;

  @ApiModelProperty("客户反馈")
  private String feedback;

  @ApiModelProperty("创建人id（不用传值）")
  private Long create_id;

  @ApiModelProperty("创建时间（不用传值）")
  private Date create_time;

  @ApiModelProperty("状态（0：显示 1：隐藏）（不用传值）")
  private Long dalete_state;

  @ApiModelProperty("备注")
  private String remarks;

  @ApiModelProperty("回访时间")
  private Date time;

  @ApiModelProperty("客户id")
  private Integer customer_id;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getUser_id() {
    return user_id;
  }

  public void setUser_id(Long user_id) {
    this.user_id = user_id;
  }

  public Long getContacts_id() {
    return contacts_id;
  }

  public void setContacts_id(Long contacts_id) {
    this.contacts_id = contacts_id;
  }

  public Long getContract_id() {
    return contract_id;
  }

  public void setContract_id(Long contract_id) {
    this.contract_id = contract_id;
  }

  public Long getForm() {
    return form;
  }

  public void setForm(Long form) {
    this.form = form;
  }

  public Long getSatisfaction() {
    return satisfaction;
  }

  public void setSatisfaction(Long satisfaction) {
    this.satisfaction = satisfaction;
  }

  public String getFeedback() {
    return feedback;
  }

  public void setFeedback(String feedback) {
    this.feedback = feedback;
  }

  public Long getCreate_id() {
    return create_id;
  }

  public void setCreate_id(Long create_id) {
    this.create_id = create_id;
  }

  public Date getCreate_time() {
    return create_time;
  }

  public void setCreate_time(Date create_time) {
    this.create_time = create_time;
  }

  public Long getDalete_state() {
    return dalete_state;
  }

  public void setDalete_state(Long dalete_state) {
    this.dalete_state = dalete_state;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }

  public Integer getCustomer_id() {
    return customer_id;
  }

  public void setCustomer_id(Integer customer_id) {
    this.customer_id = customer_id;
  }

  @Override
  public String toString() {
    return "Visit{" +
            "id=" + id +
            ", user_id=" + user_id +
            ", contacts_id=" + contacts_id +
            ", contract_id=" + contract_id +
            ", form=" + form +
            ", satisfaction=" + satisfaction +
            ", feedback='" + feedback + '\'' +
            ", create_id=" + create_id +
            ", create_time=" + create_time +
            ", dalete_state=" + dalete_state +
            ", remarks='" + remarks + '\'' +
            ", time=" + time +
            ", customer_id=" + customer_id +
            '}';
  }
}
